import type { queryParams, listWarningmessages, obj1 } from '@/types/user'
import { request } from '@/utils/request'
// 查询预警信息列表
export const listWarningmessage = (params: queryParams) =>
  request<listWarningmessages>('/dataindex/warningmessage/list', 'GET', params)

export const casLogin = (params: any) =>
  request<obj1>('/auth/casLogin', 'GET', params)

export const getUserInfo = (params: any) =>
  request<any>('/auth/appLogin', 'GET', params)
